package com.demo.command18;

public class CloseTvCommand implements Command{
	private final Television tv;
	
	public CloseTvCommand(Television tv){
		this.tv = tv;
	}
	
	@Override
	public void execute(int i) {
		tv.close();
	}

}